//
//  InfoDetailModel.m
//  Utils
//
//  Created by enghou on 2018/6/4.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "InfoDetailModel.h"

@implementation InfoDetailModel
-(instancetype)initWithSource:(NSDictionary *)source{
    self = [super initWithSource:source];
    if (self) {
        CGSize size = [self.content caculateSizeWithFont:[UIFont systemFontOfSize:14] MaxSize:CGSizeMake(ScreenWidth - 40, CGFLOAT_MAX)];
        self.height = 290 + size.height - 10;
    }
    return self;
}
@end
